package com.think.teaching.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.think.teaching.model.TrainingTest;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface TrainingTestService extends IService<TrainingTest> {
	TrainingTest AddTrainingTest(TrainingTest result);

	TrainingTest UpdateTrainingTest(TrainingTest result);

	TrainingTest GetTrainingTest(Integer id);

	IPage<TrainingTest> ListTrainingTest(Integer page, Integer count, Boolean withoutBan);

	TrainingTest SetTrainingTestState(Integer id, Integer state);
}
